package generic;

public class CustomList<T> {
    Object[] array = new Object[1];

    public T get() {
        return (T) array[0];
    }

    public void set(T instance) {
        array[0] = instance;
    }
}
